﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using LitJson;

namespace CoolChat
{
    public partial class Chat : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //ChatUser u = new global::CoolChat.ChatUser();
            //u.UserID = "123123";
            //u.UserName = "kkkksa";
            //u.SessionId = Session.SessionID;
            //u.UserRole = USER_ROLE.SYSUSER;
            //u.SysUserType = 1;
            //u.UserIP = Request.UserHostAddress;
            //string juser = JsonMapper.ToJson(u);
            //HttpCookie cuser = new HttpCookie("chatuser", juser);
            //Response.Cookies.Add(cuser);
            //Session["user"] = u;
            Response.Cookies.Remove("chatuser");
            
        }
    }
}